package demo1;

interface A {
    void test();
}
public class Test {
    public static void main(String[] args) {
        new A() {
            @Override
            public void test() {

            }
        };
    }
}
